/**
 * 
 */
package com.archives.blog.manager;

import org.springframework.data.domain.Page;

import com.archives.blog.common.domain.entity.Article;
import com.archives.blog.common.domain.pojo.request.ArticleAddRequest;
import com.archives.blog.common.domain.pojo.request.ArticleModifyRequest;
import com.archives.blog.common.domain.pojo.request.ArticleQueryRequest;

/**
 * @author chh
 *
 */
public interface ArticleManager {

	void add(ArticleAddRequest request);
	
	void modify(ArticleModifyRequest request);
	
	void delete(Long id);
	
	Page<Article> getPage(ArticleQueryRequest request);
	
	Article getDetail(Long id);
	
}
